package net.csdn.business.common.domain.request;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 新增成员邀请链接审核对象DTO invite_link_audit
 * 
 * @author zhangyl
 * @date 2024-04-02
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class InviteLinkApplyDTO implements Serializable
{

    private static final long serialVersionUID = 1L;

    /** 邀请码 */
    //@NotBlank(message = "inviteCode不能为空")
    private String inviteCode;

    /** 申请原因 */
    private String applyReason;

    private String sourceId;

    @Range(min = 1, max = 2, message = "sourceType不合法")
    private Integer sourceType;

    //@NotBlank(message = "currUserId不能为空")
    private String currUserId;
}
